package com.by.mapper;


import com.by.entity.OrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@SuppressWarnings("all") //去掉报红
@Mapper
public interface OrderItemMapper {
    //批量保存明细
    int batchSave(@Param("orderId") int orderId,@Param("orderItemList") List<OrderItem> orderItemList);

}
